//
//  ViewoFootView.h
//  diaoyuren
//
//  Created by Cheng on 16/1/22.
//  Copyright © 2016年 game. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DetailModel.h"


@protocol tableviewFresh <NSObject>

-(void)tableviewFresh:(BOOL) clickWho;


//滑动到 视频相关 ，调代理方法
-(void)RelateTableView;

//点击相关视频列表代理方法
-(void)SelectRelateTablrView:(NSString *)AticID Skin:(NSNumber *)skin;

@end

@interface ViewoFootView : UIView
@property (nonatomic,strong) UIScrollView *scrollview;


//VideoDescCellheight用户点击Desccell高度动态变化
@property(nonatomic,assign)NSInteger VideoDescCellheight;
//视频相关高度
@property(nonatomic,assign)NSInteger relateHeight;

@property(nonatomic,strong)DetailModel *model;

@property(nonatomic,assign)BOOL cellHeight;
/**
 *  获取评论数组
 */
@property(nonatomic,strong)NSArray *pinlunArr;

@property (nonatomic,assign) CGFloat relaCellHight;

/**
 *  文章ID
 */
@property(nonatomic,copy)NSString*AticleID;

@property(nonatomic,assign)id<tableviewFresh>delegate;



@property (nonatomic,assign) CGFloat FootHight;


@property (nonatomic,copy) void (^refreshBlock)();

@property(nonatomic,assign)BOOL isFirst;

/**
 *  相关视频数据模型
 */
@property(nonatomic,strong)NSMutableArray *relateArr;
-(void)creatScrollview;



@end
